package com.bingxue.edu.management.education.model.query;


import com.bingxue.edu.framework.mybatis.query.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "班级列表查询条件")
public class ClassWithPermissionQuery extends ClassQuery {

    @Schema(description = "学生id")
    @NotBlank(message = "学生id不能为空")
    @Query(ignored = true)
    private String studentId;

    @Schema(description = "原班级id")
    @Query(ignored = true)
    private String oldClassId;
}
